package cn.crm.system.mapper;

import cn.crm.system.domain.pojo.dto.BusinessDto;
import cn.crm.system.domain.pojo.dto.ScheduleCaseDTO;
import cn.crm.system.domain.pojo.entity.Business;
import cn.crm.system.domain.pojo.vo.BusinessVo;
import cn.crm.system.domain.pojo.vo.ScheduleCaseVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 业务模块 数据层
 * 
 * @author xhy
 */
@Repository
public interface ScheduleCaseMapper
{
    //新增
    int insertscheduleCase(@Param("list") List<ScheduleCaseDTO> list, @Param("id") Long id);
    //通过项目id查询
    List<ScheduleCaseVo> selectscheduleCasebyid(Long id);
    //通过项目id删除阶段
    int deleteScheduleCase(Long[] id);
}
